module main;

import hunt.console;
import command.StartAppCommand;
import core.thread;

void main(string []args)
{
  Console app = new Console("IM GateServer", "1.0.0");
  app.setAutoExit(false);
  app.add(new StartAppCommand());

  // 等待 MsgServer 初始化完毕再启动
  Thread.sleep(10.seconds);

  app.run(args);
}
